Skip to content

Conversation

@shreeyash07
Copy link
Collaborator

@shreeyash07 shreeyash07 commented Oct 16, 2025

Addresses

  • Issue(s):

Depends On

Changes

  • Confirmation modal for new Dref Operational update
  • Update Finalize confirmation message

This PR Ensures:

  • No typos or grammatical errors
  • No conflict markers left in the code
  • No unwanted comments, temporary files, or auto-generated files
  • No inclusion of secret keys or sensitive data
  • No console.log statements meant for debugging
  • All CI checks have passed

@changeset-bot
Copy link

changeset-bot bot commented Oct 16, 2025

⚠️ No Changeset found

Latest commit: 7fc2569

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -1,11 +1,11 @@
{
"parent": "000051-1758354992698.json",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets remove translation migration for now. We can do that all together in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might be the last PR for the Project branch,

formData: true,
url,
method: 'POST',
useCurrentLanguageForMutation: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should pass this down as prop and use it only where necessary, this might affect the other places where input is currently being used

// FIXME: fix typing in server (low priority)
// the server generated type for response and body is the same
body: (body) => body as never,
useCurrentLanguageForMutation: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should pass this down as prop and use it only where necessary, this might affect the other places where input is currently being used

Comment on lines +5 to +9
.add-ops-update-modal {
display: flex;
flex-direction: column;
gap: var(--go-ui-spacing-lg);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this styling needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is needed for now.

Comment on lines +186 to +194
} else if (method === 'POST' || method === 'PUT' || method === 'PATCH') {
// Mutation
defaultHeaders['Accept-Language'] = useCurrentLanguageForMutation ? currentLanguage : 'en';
if (isDefined(enforceLanguageForMutation)) {
defaultHeaders['Accept-Language'] = enforceLanguageForMutation;
} else if (useCurrentLanguageForMutation) {
defaultHeaders['Accept-Language'] = currentLanguage;
} else {
defaultHeaders['Accept-Language'] = 'en';
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need to add default fallback as well

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this file for now, the project branch already has 2 migration file which starts with 52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants